﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Lifang.Entites
{
    /// <summary>
    /// 分类信息
    /// </summary>
    public class CategoryEntity:BaseEntity
    {
        public CategoryEntity()
        {
            this.TableName = "Category";
        }
        /// <summary>
        /// 分类名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 层级
        /// </summary>
        public string Level { get;set; }
        /// <summary>
        /// 父级名
        /// </summary>
        public string PName { get; set; }
        /// <summary>
        /// 父Id
        /// </summary>
        public int PId { get; set; }
        /// <summary>
        /// 路径
        /// </summary>
        public int IdPath { get; set; }
        /// <summary>
        /// 路径名
        /// </summary>
        public string NamePath { get; set; }
        /// <summary>
        /// 排序值
        /// </summary>
        public int SortNum { get; set; }        
    }
}
